package top.infopub.mgr.cap.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import top.infopub.generic.GenericDao;
import top.infopub.model.cap.LookInfoBeginBank;

import java.util.List;

/** 融资初调对接金融机构(LookInfoBeginBank) **/
@Repository
public interface LookInfoBeginBankDao extends GenericDao<LookInfoBeginBank, String> {

    /**
     * 批量添加银行
     */
    void insertByBatch(@Param("list") List<LookInfoBeginBank> lookInfoBeginBanks);

    List<LookInfoBeginBank> selectByBeginId(@Param("id") String id);

    void deleteByBeginId(@Param("id") String id);

    List<LookInfoBeginBank> selectByProCode(@Param("proCode") String proCode);
}
